package com.ruoyi.wbgame.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生参与游戏对象 wb_stu_game
 * 
 * @author guguofu
 * @date 2021-04-16
 */
public class WbStuGame extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生用户id */
    private Long studentId;

    /** 参加游戏的id */
    private Long gameId;

    /** 总得分 */
    @Excel(name = "总得分")
    private Long score;

    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setGameId(Long gameId) 
    {
        this.gameId = gameId;
    }

    public Long getGameId() 
    {
        return gameId;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentId", getStudentId())
            .append("gameId", getGameId())
            .append("score", getScore())
            .toString();
    }
}
